        <img src="images/bg-top.jpg" alt="Blue Cities Exchange" width="1026px" height="179px" usemap="#headerMap" hideFocus="true" />
        <map name="headerMap" id="headerMap">
          <area shape="rect" coords="106, 9, 173, 111" href="." alt="Blue Cities Exchange" title="Blue Cities Exchange" />
          <area shape="rect" coords="186, 66, 485, 102" href="." alt="Blue Cities Exchange" title="Blue Cities Exchange" />
          <area shape="rect" coords="811, 11, 932, 60" href="http://crwa.org/" alt="Charles River Watershed Association" title="Charles River Watershed Association" />
        </map>
        <div id="header">

            <div class="wrapper clearfix">

                <div class="logo-right clearfix">
                    <div class="slogan">
                        <img src="images/home_but.png" alt="Blue Cities Exchange Home" usemap="#homeMap" hideFocus="true" />
                        <img src="images/question_but.png" style="margin-left: 10px;" alt="Help" usemap="#helpMap" hideFocus="true" />
                        <img src="images/login_but<?php echo (isset($_SESSION['gdusername']) AND isset($_SESSION['gdpassword'])) ? '_green' : ''?>.png" style="margin-left: 10px;" alt="Login/register" usemap="#loginMap" hideFocus="true" />
<?php
  if (isset($_SESSION['gdusername']) AND isset($_SESSION['gdpassword'])) {
?>
                        <img src="images/doc_but_green.png" style="margin-left: 10px;" alt="Administrative Tools" usemap="#docMap" hideFocus="true" />
                                                                                        <map name="docMap" id="docMap">
                                                                                                <area shape="circle" coords="32, 32, 32" href="?page=admin" alt="Administrative Tools" title="Administrative Tools" />
<?php
  }
?>
                                                                                        <map name="homeMap" id="homeMap">
                                                                                                <area shape="circle" coords="32, 32, 32" href="." alt="Blue Cities Exchange Home" title="Blue Cities Exchange Home" />
                                                                                        </map>
                                                                                        <map name="helpMap" id="helpMap">
                                                                                                <area shape="circle" coords="32, 32, 32" href="?page=faq" alt="Help" title="Help" />
                                                                                        </map>
<?php
  $returnUrl = urlencode($_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING'] != '' ? '?' : '').$_SERVER['QUERY_STRING']);
  $href = '';
  $title = 'Login/register';
  if (isset($_SESSION['gdusername']) AND isset($_SESSION['gdpassword'])) {
    $href = "logout.php?returnurl=$returnUrl";
    $title = 'Logout, '.$_SESSION['gdusername'].'.';
  }
  else {
    $href = "login.php?returnurl=$returnUrl";
  }
?>

                                                                                        <map name="loginMap" id="loginMap">
                                                                                                <area shape="circle" coords="32, 32, 32" href="<?php echo $href?>" alt="<?php echo $title?>" title="<?php echo $title?>" />
                                                                                        </map>
                 </div>
                </div>

            </div>

        </div>
